#include "queue.h"

int main(void)
{ 
     Queue queue;
     Init(&queue);

     for (int i = 0; i < 5; i++)
          EnQueue(&queue, i);

     Show(&queue);

     DeQueue(&queue);
     Show(&queue);

     int value;
     GetHead(&queue,&value);
     printf("head value = %d\n",value);
     value = Length(&queue);
     printf("length = %d\n",value);
     Destory(&queue);
     
     return 0;
}
